package com.asset.dispoal.configurationBatch.service.converter;

import com.asset.dispoal.configurationBatch.domain.db.entity.ConfigurationBatch;
import com.asset.dispoal.configurationBatch.dto.ConfigurationBatchRequest;
import com.asset.dispoal.configurationBatch.dto.ConfigurationBatchResponse;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author qr
 * @date 2022/3/25$
 */
@Mapper
public interface ConfigurationBatchConverter {

    ConfigurationBatchConverter INSTANCE = Mappers.getMapper(ConfigurationBatchConverter.class);


    ConfigurationBatch reqToDo(ConfigurationBatchRequest request);

    ConfigurationBatchResponse doToRes(ConfigurationBatch configurationBatch);

}
